home *** CD-ROM | disk | FTP | other *** search
/ Utilities Professional 1-1500 / Utilities Professional 1-1500 (1994)(WPD)[!].iso / 12511500 / var1462.dms / var1462.adf / docs / UserGuide < prev    next >
Text File  |  1994-04-17  |  64KB  |  1,751 lines

  1.  
  2. AmigaFax
  3. *********
  4.  
  5. A Facsimile Software Package for the Amiga Computer
  6. Copyright (C) 1994 by C-Born Software Systems
  7.  
  8.  
  9. Introduction
  10. *************
  11.  
  12. This manual describes the AmigaFax software package for the Amiga
  13. family of computers. AmigaFax was originally written both to solve a
  14. personal need for shared facsimile and data on a single telephone line,
  15. and to become a commercial software product. When changing company
  16. circumstances dictated that bringing the product to commercial release
  17. level in a reasonable time frame would not be possible, it was decided
  18. to release the package in `Shareware' form, rather than deprive the
  19. Amiga community of the work that had already gone into it. While total
  20. returns from the registration fee charged have not even covered code
  21. maintenance and distribution costs, we still feel it has been a
  22. worthwhile project, especially due to the many contacts it has allowed
  23. us to form with the worldwide Amiga community.
  24.  
  25.  
  26. What is AmigaFax?
  27. ==================
  28.  
  29. AmigaFax is a software package that, in combination with a FaxModem,
  30. allows you to send and receive facsimile information from your Amiga
  31. computer.  Received faxes can be viewed, printed, forwarded to other
  32. fax machines, and saved as ILBM files which can then be accessed using
  33. many standard Amiga programs.  You can transmit text, ILBM graphics,
  34. and combinations of these as faxes. Using the AmigaFax command language
  35. you can add text from any Amiga font, along with logos and ILBM
  36. graphics, to create high quality multi-page fax documents.
  37.  
  38. AmigaFax can be set up to automatically send documents to multiple
  39. recipients, to send faxes at or after set times, to answer incoming fax
  40. calls automatically, and even to forward received faxes (useful as a
  41. vacation mechanism).
  42.  
  43. Faxes can be printed on plain paper, using your normal Amiga printer.
  44.  
  45. AmigaFax is highly configurable, allowing you to set up a custom
  46. environment that best suits your hardware and way of working.
  47.  
  48.  
  49. Summary of Features
  50. ====================
  51.  
  52.    * *Automatic Reception*
  53.      AmigaFax may be configured to receive faxes in the background, or
  54.      to answer an already ringing line in Fax mode. Autoanswer may also
  55.      be integrated with a UUCP or BBS environment, where incoming calls
  56.      may be Fax or data, by using a specially modified version of the
  57.      getty program that recognises Fax calls.
  58.  
  59.    * *Automatic Transmission*
  60.      Faxes may be queued for transmission after a particular time, to
  61.      take advantage of lower off-peak telecom rates, for example. You
  62.      may specify the number of times to try before giving up on
  63.      transmission, and the period at which retry attempts should be
  64.      made. All call progress is logged, and progress may be monitored
  65.      from the main program. Call logging displays when attempts were
  66.      made, the success or failure of the call, and the Called Number ID
  67.      of the remote Fax machine reached.
  68.  
  69.    * *Multiple Recipients*
  70.      Fax numbers may be entered either directly, or using defineable
  71.      aliases. Therefore instead of sending to `99123456', you could
  72.      send it to `Fred'. In the same way, an alias can refer to a list
  73.      of other aliases, or numbers, so that one fax could be sent to
  74.      `Customers', representing a list of customers.
  75.  
  76.    * *Flexible Fax Viewer*
  77.      The Fax viewer allows you to view a fax document at scales of from
  78.      1:1 to 1:8. A 1:3 scale igenerally gives a quite readable image
  79.      while still fitting the entire Fax width across a standard Amiga
  80.      screen. You can easily zoom in on areas of particular interest if
  81.      required. The viewer may be configured to take advantage of new
  82.      display modes (eg Productivity) and add-in high resolution display
  83.      cards (eg Retina).
  84.  
  85.    * *Powerful Document Builder*
  86.      This allows you to mix any Amiga font or ILBM graphic on a page,
  87.      to include text, ILBM, Fax, or AmigaFax command files anywhere on
  88.      a page or in a document, perform alignment at character or pixel
  89.      level, justify text regardless of font size, automatically add
  90.      standard information such as address, signature, logo, and current
  91.      time/date. Text conversion includes selectable fonts size and
  92.      styles, including underline, bold and italic.
  93.  
  94.    * *TeX to fax conversion*
  95.      The `dvifax' program (registered version only) allows TeX `dvi'
  96.      files to be converted directly to fax files.
  97.  
  98.    * *Fax Printer-Driver*
  99.      The fax printer driver allows the output of wordprocessing, DTP,
  100.      painting and drawing programs to be converted directly to fax
  101.      files.
  102.  
  103.    * *Highly User Configurable*
  104.      The configuration file allows you to set the system up to suit your
  105.      requirements. You can define your prefered editor for text and for
  106.      graphics, set a standard file to use as a template when creating
  107.      new Fax documents, customize your dial type (pulse/tone, special
  108.      prefix to get outside line, etc), set the Caller ID string to
  109.      identify yourself to remote Fax machines, define the modem type
  110.      you are using, and set many system default values.
  111.  
  112.    * *Multiple Serial Port Support*
  113.      Using the A2232 multi-serial port card, AmigaFax can support
  114.      multiple FaxModems simultaneously, each modem being able to
  115.      transmit and receive facsimiles and data.
  116.  
  117.    * *Uses Preferences Printer*
  118.      Because the Amiga Preferences printer is used to print out the
  119.      documents, you can tradeoff speed for resolution as you require.
  120.  
  121.    * *Workbench or CLI interface*
  122.      AmigaFax can be run either from the workbench, or from a shell or
  123.      CLI interface. In either case, an easy to use graphical
  124.      presentation makes operation straightforward.
  125.  
  126.  
  127. System Requirements
  128. ====================
  129.  
  130. AmigaFax requires AmigaDOS version 1.3 or greater. It operates with
  131. AmigaDOS 2.0, and will run on Amigas from the original A1000 through to
  132. the A3000. It is possible to run on an unexpanded A1000 with 512K RAM
  133. and 1 disk drive, but in this case memory and disk restraints will
  134. limit the number and size of faxes that may be generated or received.
  135. In general the more memory and disk available the better. For
  136. unattended Auto-receive operation a hard disk system is highly
  137. desirable.
  138. Certain features, such as font scaling, ASL file requester, and
  139. demand-loading of the printer symbiont rely on AmigaDOS 2.0 features,
  140. and will not operate under 1.3
  141. As of AmigaFax version 1.40, support for AmigaDOS 1.3 will not be
  142. guaranteed, however we will endeavour to maintain basic operation as
  143. long as possible, and will listen to any user feedback in this area.
  144.  
  145.  
  146. Installation
  147. *************
  148.  
  149. *Warning:* Be sure to back up your original disks, and use working
  150. copies of the disks for normal operation.
  151.  
  152.  
  153. Installing the Software
  154. ========================
  155.  
  156. Information on installing the AmigaFax software on your system is given
  157. in the  ReadMe  file on the distribution disk. Insert the distribution
  158. disk, and from the WorkBench double-click on the ReadMe icon for
  159. instructions.
  160.  
  161. The installation script should automatically handle most installations.
  162. To use it, from the WorkBench double-click the Install_Now icon, or
  163. from a Shell window type  amigafax:install . The script will prompt you
  164. for information required to complete the installation.
  165.  
  166. If you are updating to a later revision, the installation procedure
  167. will not overwrite your configuration or alias files, so you will not
  168. lose information. However in this case you may want to examine the
  169. files in the directories  `lib.user'  and  `s.user' on the distribution
  170. disk for examples of more recent configuration options.
  171.  
  172. The AmigaFaX software requires certain logical assignments to be made.
  173. The installation procedure will create a file `afax:s/User-Startup'. 
  174. You must edit your `S:User-Startup' (2.0) or `S:Startup-Sequence' (1.3)
  175.  to include the contents of that file, which will be typically
  176. something like:
  177.  
  178.      assign afax: Work:AmigaFax
  179.      mount null:
  180.      run >nil: <nil: l:fifo-handler
  181.      if exists afax:s/AFAX-Startup
  182.              execute afax:s/AFAX-Startup
  183.      endif
  184.  
  185. If your `devs:MountList' doesn't contain an entry for the NULL: device,
  186. append the `MountList' file from the `devs' directory on the AmigaFax
  187. to it.
  188.  
  189.  
  190. Basic Configuration
  191. ====================
  192.  
  193. There are many possible ways to operate the AmigaFax software. You may
  194. wish to operate it as the only software using your FaxModem, or have it
  195. share the modem with other software such as AmigaUUCP. The AmigaFax
  196. spooler may be started when you boot up your computer, or only when you
  197. want to send a fax. Fax Auto-Answer may be left on all the time,
  198. started only when you are expecting a fax, or not used at all.
  199.  
  200. If you want the fax-spooler to start when you boot up your system, you
  201. must add the line
  202.  
  203.      run >nil: <nil: AFAX:C/afaxspl
  204.  
  205. to your startup sequence. This can be done in the `AFAX:s/AFaxAssign' 
  206. file, for example. Normally this would only be necessary if you send a
  207. lot of faxes with delayed spooling, and your computer may be rebooted
  208. often, as the spooler is automatically started when sending a fax.
  209.  
  210. If you want auto-answer with Fax detection running constantly in
  211. background, you may either use the modified `Getty' command, or use
  212. `faa' directly, by adding the line
  213.  
  214.      run >nil: <nil: faa
  215.  
  216. somewhere in your startup sequence.
  217.  
  218. Note that the modified `getty' will allow you to receive data and fax
  219. calls effectively, and is the recommended approach. However if you only
  220. wish to receive faxes, `faa' is effective and may be started by
  221. double-clicking on the *FaxAutoAnswer* icon.
  222.  
  223.  
  224. Hardware
  225. =========
  226.  
  227. The cable between your Amiga and Modem MUST connect CTS,RTS,DTR, DCD,
  228. TXD, RXD and GND conductors. CTS and RTS are used for flow control
  229. handshaking. DTR is used to keep the modem on line - hangup occurs if
  230. it is dropped. DCD is used for carrier detection.
  231.  
  232.      TXD   2  Transmit Data
  233.      RXD   3  Receive Data
  234.      RTS   4  Request to Send
  235.      CTS   5  Clear to Send
  236.      GND   7  Signal Ground
  237.      DCD   8  Data Carrier Detect
  238.      DTR  20  Data Terminal Ready
  239.  
  240.  
  241. ARP
  242. ====
  243.  
  244. If you have the ARP library installed (`Libs:arp.library') the system
  245. will make use of it for file requesters.
  246.  
  247. Support for the ASL library under AmigaDOS2.0 has now been added to
  248. AmigaFax.  It is used in preference to ARP.
  249.  
  250.  
  251. Extra FONTS
  252. ============
  253.  
  254. Some extra fonts have been included in the FaxFonts directory. You may
  255. let the installation script copy them into your `FONTS:' directory, or
  256. under AmigaDOS2.0 you may copy them into another directory, and modify
  257. your startup to extend the `FONT:' assign to that directory. The extra
  258. fonts are from the *Computer Modern* series, as used with TeX.
  259. These fonts will normally *not* be required under AmigaDOS2.0. You are
  260. much better off using the built-in font scaling where it is available.
  261.  
  262.  
  263. Printer Setup
  264. ==============
  265.  
  266. AmigaFax currently uses the standard printer driver, as configured in
  267. `Preferences'.  Using a dot-matrix printer, Halftone Dithering, Integer
  268. Scaling, Black and White, Density 7 appears to work reasonably well.
  269.  
  270.  
  271. Configuring for Hardware and User Preferences
  272. ==============================================
  273.  
  274. You will need to modify the file  `FAXLIB:Config'  to suit your
  275. specific hardware and preferences. See Configuring the System, for
  276. details on how to do this.
  277.  
  278.  
  279. Configuring the System
  280. ***********************
  281.  
  282. The file `FAXLIB:Config'  is used to configure the basic operation of
  283. AmigaFax to suit your particular hardware and preferences. You must
  284. edit this file carefully, using a text editor. You should always keep a
  285. backup copy of this file. The configuration options are continually
  286. being added to as AmigaFax grows, so if you are upgrading you should
  287. look at the latest copy. This will *NOT* overwrite your existing
  288. configuration as part of the installation process.
  289.  
  290. From version 1.30, AmigaFax configuration can be done using local or
  291. global environmental variables. This will override the values read in
  292. from the  `FAXLIB:Config'  file. For example typing from the CLI/Shell
  293.  
  294.      SetEnv LocalID +61-52-786355
  295.  
  296. will override the `LocalID' string with the new number. Parameters set
  297. by command-line switches will override bot environmantal and
  298. config-file values.
  299.  
  300.  
  301. General Configuration
  302. ======================
  303.  
  304.    * *Debug*
  305.      Debug level, 0-9. Takes one numeric argument. Useful for
  306.      fault-finding, observing handshake between the Amiga and your
  307.      FaxModem.
  308.  
  309.    * *LogFile*
  310.      Specifies the file for logging debug and error information. If not
  311.      given, information will not be logged.
  312.  
  313.    * *LocalID*
  314.      The rest of the line is used as the local identifier string, which
  315.      is passed to the remote fax machine. This is usually your fax
  316.      number, and is limited to 20 characters. Some faxmodems (eg Supra)
  317.      require the ID string to be enclosed in double-quotes, others do
  318.      not allow this. *Important:* This seems to be the setting which
  319.      gives new users the most problems when trying to get AmigaFax
  320.      working. If you have difficulties please try setting your
  321.      `LocalID' both with and without the enclosing double-quotes.
  322.           LocalID "123-4567"
  323.           LocalID  123-4567
  324.  
  325.    * *Device*
  326.      The device to use for connecting to the modem, usually
  327.      serial.device  (default). This should only be changed if using a
  328.      different serial device, as with a third-party serial hardware.
  329.  
  330.    * *Unit*
  331.      Takes one numeric parameter as the unit number to use on the given
  332.      device. Default is 0. For example when using the first port on the
  333.      A2232 multi-serial, set this to 2.
  334.  
  335.  
  336. AmigaFax User Interface
  337. ========================
  338.  
  339. These items are used by the  `afax'  program.
  340.    * *Editor*
  341.      The name of the your prefered text editor, for example `TxEd, ced,
  342.      memacs, dme, mg', or `Ed' (default). I use `mg' (MicroGnuEmacs).
  343.  
  344.    * *ILBMEditor*
  345.      The editor you prefer for editing IFF ILBM graphics, for example
  346.      `dpaint'.
  347.  
  348.    * *Template*
  349.      The name of a file to use as a template for building fax
  350.      documents, If given, the editor will be given a copy of this file
  351.      to work on when you ask for a new fax file. This may include
  352.      references to your address, your signature, etc.
  353.  
  354.  
  355. Fax Page Layout Options
  356. ========================
  357.  
  358. These items are used by the  `mkafax'  program.
  359.    * *DefaultFont*
  360.      This is the default font, used for normal text unless otherwise
  361.      specified. It takes two parameters, the font name, and size. The
  362.      TeXfont  `cmtt10 41'  looks quite good for standard text, as does
  363.      the Amiga font `courier 32'.
  364.  
  365.    * *HeaderFont*
  366.      This is the font used for page headers. My current setting is
  367.      `courier 16'.
  368.  
  369.    * *PHeader*
  370.      If given, a header will be printed on each fax page, and the rest
  371.      of the line used as the main text, along with the date, local ID
  372.      string, and page number. If not given, no header will be printed.
  373.  
  374.    * *LeftIndent*
  375.      The left indentation (border) to be used, in pixels. Many fax
  376.      machines will not print to the full fax width, and typically an
  377.      indentation of at least 50 pixels (approx 1/4 inch) on each size
  378.      is required to avoid losing characters.
  379.  
  380.    * *RightIndent*
  381.      The right indentation (border) to be used, in pixels.
  382.  
  383.    * *SyncEOL*
  384.      When set, `mkafax' will create faxes with EOL (End-Of-Line)
  385.      markers byte-aligned. While this should not be necessary, and
  386.      results in larger files, some fax modems to not correctly identify
  387.      EOL sequences which are not byte aligned, and this can cause
  388.      problems. ZyXEL modems with ROM versions before 6.00 had this
  389.      problem, and certain rare fax files could cause the modem to lock
  390.      up completely.
  391.  
  392.  
  393. Fax Viewer Configuration
  394. =========================
  395.  
  396. These items are used by the  `viewafax'  program.
  397.    * *ViewScale*
  398.      Takes one numeric argument, 1-8. This is the default scale used by
  399.      the fax viewer when it starts up. A value of three allows a
  400.      standard fax to fit across the screen. A scale of 1 shows maximum
  401.      detail.
  402.  
  403.    * *CustomScreen*
  404.      Under AmigaDOS2.0 only, the value of this parameter is passed to
  405.      the OpenScreen() call in the ti_Data field of the SA_DisplayID tag
  406.      item. This allows users to define what type of screen the viewer
  407.      will appear on. The default values passed are PAL_MONITOR_ID and
  408.      HIRESLACE_KEY. Some possible values are:
  409.           DEFAULT_MONITOR_ID        0x00000000
  410.           NTSC_MONITOR_ID           0x00011000
  411.           PAL_MONITOR_ID            0x00021000
  412.           VGA_MONITOR_ID            0x00031000
  413.           
  414.             or'ed with
  415.           
  416.           LORES_KEY                 0x00000000
  417.           HIRES_KEY                 0x00008000
  418.           SUPER_KEY                 0x00008020
  419.           HAM_KEY                   0x00000800
  420.           LORESLACE_KEY             0x00000004
  421.           HIRESLACE_KEY             0x00008004
  422.           SUPERLACE_KEY             0x00008024
  423.           HAMLACE_KEY               0x00000804
  424.           LORESDPF_KEY              0x00000400
  425.           HIRESDPF_KEY              0x00008400
  426.           SUPERDPF_KEY              0x00008420
  427.           LORESLACEDPF_KEY          0x00000404
  428.           HIRESLACEDPF_KEY          0x00008404
  429.           SUPERLACEDPF_KEY          0x00008424
  430.           LORESDPF2_KEY             0x00000440
  431.           HIRESDPF2_KEY             0x00008440
  432.           SUPERDPF2_KEY             0x00008460
  433.           LORESLACEDPF2_KEY         0x00000444
  434.           HIRESLACEDPF2_KEY         0x00008444
  435.           SUPERLACEDPF2_KEY         0x00008464
  436.           EXTRAHALFBRITE_KEY        0x00000080
  437.           EXTRAHALFBRITELACE_KEY    0x00000084
  438.           VGAEXTRALORES_KEY         0x00031004
  439.           VGALORES_KEY              0x00039004
  440.           VGAPRODUCT_KEY            0x00039024
  441.           VGAHAM_KEY                0x00031804
  442.           VGAEXTRALORESLACE_KEY     0x00031005
  443.           VGALORESLACE_KEY          0x00039005
  444.           VGAPRODUCTLACE_KEY        0x00039025
  445.           VGAHAMLACE_KEY            0x00031805
  446.           VGAEXTRALORESDPF_KEY      0x00031404
  447.           VGALORESDPF_KEY           0x00039404
  448.           VGAPRODUCTDPF_KEY         0x00039424
  449.           VGAEXTRALORESLACEDPF_KEY  0x00031405
  450.           VGALORESLACEDPF_KEY       0x00039405
  451.           VGAPRODUCTLACEDPF_KEY     0x00039425
  452.           VGAEXTRALORESDPF2_KEY     0x00031444
  453.           VGALORESDPF2_KEY          0x00039444
  454.           VGAPRODUCTDPF2_KEY        0x00039464
  455.           VGAEXTRALORESLACEDPF2_KEY 0x00031445
  456.           VGALORESLACEDPF2_KEY      0x00039445
  457.           VGAPRODUCTLACEDPF2_KEY    0x00039465
  458.           VGAEXTRAHALFBRITE_KEY     0x00031084
  459.           VGAEXTRAHALFBRITELACE_KEY 0x00031085
  460.  
  461.  
  462. Fax Printer Configuration
  463. ==========================
  464.  
  465. These items are used by the `afaxprt' program.
  466.    * *MinLines*
  467.      `MinLines' is used to scale a fax page to fit on a printer page.
  468.      If the fax page is longer then the printer page by less than
  469.      MinLines, it will be scaled to fit. A value of around 500 works
  470.      for most faxes.
  471.  
  472. `MinLines' had a different meaning in versions of AmigaFax prior to
  473. 1.32, as follows:
  474.      Takes one numeric argument. This is the minimum number of lines
  475.      that must be on a fax page before we print it. The default value
  476.      is 0 (zero), meaning print all pages. This is for cut-sheet
  477.      feeders (Laser Printers), where the fax may be just a little
  478.      longer than one page. Use a value of around 100 here to stop
  479.      getting `blank pages' printed out.
  480.  
  481.  
  482. Fax Spooler Configuration
  483. ==========================
  484.  
  485. These items are used by the `afaxspl'  program.
  486.    * *SpoolInterval*
  487.      This is the time interval, in minutes, at which the outbound fax
  488.      queue is scanned for untransmitted files.
  489.  
  490.  
  491. Fax Receiver Configuration
  492. ===========================
  493.  
  494. These items are used by the  `faa'  program.
  495.    * *RSetup*
  496.      The receive setup string. This optional string is sent to the
  497.      modem. Unlike versions before 1.23, the string is *not* preceded
  498.      by AT . Instead, the line is sent as it appears. This allows
  499.      multiple commands to be sent when initializing the modem. This
  500.      allows you to add commands to set such things as speaker use and
  501.      volume.
  502.  
  503.    * *RStatus*
  504.      Receive Status. If present, a status window will pop up when a fax
  505.      is being received, showing various details such as name, connect
  506.      speed, transmitter ID, amount of data received. It takes two
  507.      optional numeric parameters, which are used for the top and left
  508.      edge pixel positions to place the window.
  509.  
  510.    * *DLEmode*
  511.      There are many incompatible modems and modem ROM revisions about.
  512.      This allows you to specify certain things about how your FaxModem
  513.      sends your data. It currently takes one numeric argument, (0, 1 or
  514.      3).     
  515.               
  516.  
  517.         * 0  (default) treat DLE in received data as escape          
  518.           (Maestro 3.1, ZyXEL 3.99+)     
  519.  
  520.         * 1  Received DLE is g3 data  (ZyXEL Vn3.90, Supra?)     
  521.  
  522.         * 3  RAW input mode. Data is saved raw. For debug only.     
  523.  
  524.    * *RRate*
  525.      Sets the initial baud rate (`Receive Rate') for modem
  526.      communications. This defaults to 2400, for simple faxmodems that
  527.      normally communicate at 2400, but switch to 19200 for actual fax
  528.      data. More advanced modems, such as the ZyXEL, will communicate at
  529.      19200 baud or greater, at a locked DCE-DTE rate, as per the
  530.      FaxModem specification. I have this set to 19200, which is the
  531.      highest speed common to my FaxModem and the AS2232 multiport
  532.      serial card.
  533.  
  534.      When receipt handshaking is via the `getty' program, `RRate' is
  535.      not used.
  536.  
  537.  
  538. Fax Transmitter Configuration
  539. ==============================
  540.  
  541. These items are used by the `afaxsend'  program.
  542.  
  543.    * *WSetup*
  544.      The transmit setup string. This optional string is sent to the
  545.      modem. As in the `RSetup' line, the line is sent to the modem as it
  546.      appears (since 1.23). This allows you to add commands to set such
  547.      things as speaker use and volume.
  548.  
  549.    * *DialType*
  550.      Takes the parameters `Pulse' (default) or `Tone'.
  551.  
  552.    * *DialPrefix*
  553.      Prefix to add before number when dialling. I use it to get an
  554.      outside line (dials 0 first), by setting it to `ATDP0,DT,' which
  555.      will pulse-dial 0, then tone-dial the rest of the number.
  556.  
  557.    * *DoPadding*
  558.      This should not be necessary. However, some FaxModems to not
  559.      observe the minimum scan-time restrictions set by the standard.
  560.      When connecting to slower fax machines, this may result in missed
  561.      scan-lines. Note that if you set this parameter, it will usually
  562.      result in fax transmissions taking longer, as worst-case padding
  563.      must be added.
  564.  
  565.    * *WStatus*
  566.      Write Status. If present, a status window will pop up when a fax is
  567.      being transmitted, showing various details such as name, connect
  568.      speed, receiver ID, percent of file sent. It takes two optional
  569.      numeric parameters, which are used for the top and left edge pixel
  570.      positions to place the window.
  571.  
  572.    * *ScriptBeforeSending*
  573.      This may contain the name of a CLI command script to be executed
  574.      before a fax is sent. The script is executed synchronously before
  575.      the serial device is locked or opened.
  576.  
  577.    * *ScriptAfterSending*
  578.      This may contain the name of a CLI command script to be executed
  579.      after a fax has been sent. The script is executed synchronously
  580.      just before `afaxsend' terminates.
  581.  
  582.    * *XonXoff*
  583.      If set, causes `afaxsend' to use XON/XOFF handshaking with the
  584.      faxmodem while transmitting fax data. This is not normally
  585.      necessary, as the modems should implement CTS/RTS hardware
  586.      handshaking, but some modems, such as the NetComm M7F, have a
  587.      hardware bug that prevents the hardware handshake working.
  588.      Symptoms are buffer overrun, and loss of fax data.
  589.  
  590.  
  591. PrintSymb Configuration
  592. ========================
  593.  
  594. These items are used by the `PrintSymb' program.
  595.  
  596.    * *FAXFILE*
  597.      This contains the name of the file to write fax-data from the
  598.      printer-driver to. If not defined, data will be written to the file
  599.      `FAXSPOOL:P_xxxx.AFX', where `xxxx' is used to create a new
  600.      sequential name, or if that cannot be done it will be written to
  601.      `Ram:fax.prt'.
  602.  
  603.      When you do not with the fax file to be retained, you may direct
  604.      is to a temporary file, eg `SetEnv FAXFILE t:fx'. The variable
  605.      will be read in again every time file is created, so you may
  606.      change it dynamically.
  607.  
  608.    * *ClipPage*
  609.      This is used to clip whitespace from the top and bottom of a page
  610.      sent to the fax printer driver. At present only bottom-clipping is
  611.      implemented, but for future compatability use the following values:
  612.           ClipPage 1    # Remove whitespace at bottom of page
  613.           ClipPage 2    # Remove whitespace at top of page
  614.           ClipPage 3    # Remove whitespace at top and bottom of page
  615.  
  616.  
  617. Modem Command and Status Strings
  618. =================================
  619.  
  620. Certain  modem commands and status codes have now been made variable.
  621. The variables default to their own value, and may be set in the Config
  622. file, or as environment variables.
  623.  
  624.      eg    setenv +FLID +FLI
  625.  
  626. will result in the string `+FLI' rather than `+FLID' being used for
  627. setting the local ID code.
  628.  
  629. Variables are:
  630.  
  631.    * Status     
  632.               
  633.  
  634.         * +FCON      Fax connect established     
  635.  
  636.         * +FCSI     Called station identifier follows     
  637.  
  638.         * +FTSI     Transmitting station identifier follows     
  639.  
  640.         * +FDCS     Current session parameters follow     
  641.  
  642.         * +FK     
  643.  
  644.         * +FPTS     
  645.  
  646.         * +FHNG     Fax hangup (terminal)     
  647.  
  648.    * Command     
  649.               
  650.  
  651.         * +FDT     Fax Data Transmit (I am about to transmit)     
  652.  
  653.         * +FDR     Fax Data Receive     
  654.  
  655.         * +FLID     Local ID string follows     
  656.  
  657.    * Dual Use     
  658.               
  659.  
  660.         * +FET     Fax End of Transmission (Followed by status code)     
  661.  
  662.         * +FDIS     Constrain session parameters     
  663.  
  664.  
  665. Configuration Variables Index
  666. ==============================
  667.  
  668.  
  669. The Workbench Interface
  670. ************************
  671.  
  672. Once configured, AmigaFax may be operated either from a Shell or CLI
  673. (Command Line Interface), or from the Workbench. If you choose to
  674. operate from the Workbench, you will find three main icons, `AmigaFax',
  675. `FaxAutoAnswer' and `FaxSpool'.
  676.  
  677.  
  678. AmigaFax
  679. =========
  680.  
  681. When you double-click on the `AmigaFax' icon, the main AmigaFax control
  682. window will open. This allows you to edit, compile and view faxes,
  683. queue them for transmission, review previously queued transmissions,
  684. and so forth. There are currently six string gadgets, six pushbutton
  685. gadgets, and one toggle gadget on the control window.
  686.  
  687. The gadget functions are:
  688.  
  689.    * *FINE/STD*
  690.      This toggle gadget allows the user to toggle between `Fine' (200
  691.      DPI) and `Standard' (100 DPI) vertical resolution, when creating
  692.      AFax files.  Standard resolution takes half the space, and half the
  693.      time to transmit, of `Fine' mode, but `Fine' looks *much* nicer !!
  694.  
  695.    * *To:*
  696.      This is the intended recipient of the Fax. It may be just a phone
  697.      number, or it may be an alias. When you enter a string and press
  698.      return, if the first character is a digit it will be treated as a
  699.      number, otherwise it will be checked for aliases. If no aliases are
  700.      found, the string is removed, otherwise the number of aliases
  701.      found is shown. See Aliases, for more information on aliases.
  702.  
  703.    * *From:*
  704.      This is picked up from the `LocalID' field in your Config file, if
  705.      present. You may override this value. It is a 20 character string
  706.      sent to the remote Fax to identify you as the sender, usually your
  707.      phone number for return faxes.
  708.  
  709.    * *Source:*
  710.      This is the name of the fax source document, usually an AmigaFax
  711.      command (`.FCOM') file, although plain text or ILBM files may also
  712.      be used.  If you press return with an empty string, and ARP is
  713.      installed, a requester will prompt you for a filename.
  714.  
  715.    * *AFAX:*
  716.      This is the name for the actual fax file. The system will usually
  717.      pick a name for you, but you may wish to override it.  Note that
  718.      the AFAX file name will be reserved, but not actually created,
  719.      until time to send the Fax. You may force creation with the "Make"
  720.      gadget if you wish to test that it is created correctly.  If a
  721.      document is to be faxed to multiple recipients, only one copy of
  722.      the AFAX file will be made. It is automatically deleted when all
  723.      recipients have been reached.
  724.  
  725.    * *Tries:*
  726.      The maximum number of times to try to get a fax through to a
  727.      specific recipient if problems are encountered, such as remote
  728.      phone being engaged. Defaults to three.
  729.  
  730.    * *Time:*
  731.      The Fax will not be sent until after this time. An empty field
  732.      means send at any time. Fill in as hh:mm, (24 hour format) then
  733.      press return. The system will interpret the time, and display the
  734.      result. Time can only be in the future, past time is rounded up by
  735.      a day.
  736.  
  737.    * *New*
  738.      Create a new Fax document, and edit it using your configuration
  739.      editor.  The file pointed to by the configuration entry `Template'
  740.      will be used as a fax pro-forma.  The system will pick a default
  741.      document name for you, which you may keep or override.
  742.  
  743.    * *Edit*
  744.      Edit a Fax document, using your configuration editor. Note that you
  745.      may set both a text and a graphic editor in your  `config' file.
  746.  
  747.    * *Make*
  748.      The system will attempt to build an AFAX file from your source
  749.      document. This is not necessary when sending faxes, but does allow
  750.      you to check whether the document will appear as you wish.
  751.  
  752.    * *Preview*
  753.      Invokes the AFAX viewer program, so you can preview the completed
  754.      document.
  755.  
  756.    * *Send*
  757.      Your facsimile document will be queued for sending to the
  758.      appropriate recipients.  If the fax-spooler is not running, you
  759.      will be asked if you wish to start it.
  760.  
  761.    * *QCheck*
  762.      This gadget will bring up the queue check window, to monitor the
  763.      progress of outgoing Faxes. From here it is possible to requeue
  764.      Faxes that have exceeded their error allowance, and to remove the
  765.      spool files for faxes that have been successfully sent, or that
  766.      are still queued for transmission.
  767.  
  768.  
  769. FaxAutoAnswer
  770. ==============
  771.  
  772. This icon will activate the background automatic-answer facility. If it
  773. is already operating, you will get the choice of removing the existing
  774. application (stopping it), or replacing it with the new version. You
  775. may wish to replace it if you have modified the configuration file
  776. settings.
  777.  
  778. Note that you should only activate the auto-answer system in this
  779. fashion if you are  not  using the GETTY mode of operation, and only
  780. want to receive facimile transmissions, not data.
  781.  
  782.  
  783. FaxSpool
  784. =========
  785.  
  786. This icon will activate the background fax-spooler program. If it is
  787. already operating, you will get the choice of removing the existing
  788. application (stopping it), or replacing it with the new version.  Note
  789. that in normal operation the main AmigaFax program will start the
  790. spooler for you when you queue a fax for transmission, or you will run
  791. it up automatically in your startup sequence.  You may wish to replace
  792. it if you have modified the configuration file settings.
  793.  
  794.  
  795. Operating from the Shell
  796. *************************
  797.  
  798. The main executable modules included in the release are:
  799.  
  800.    * `afax'       Intuitionized interface for AFAX create/edit/send etc
  801.  
  802.    * `newfax'
  803.      Notifies new fax received, allows print/view/delete, etc
  804.      [Intuitionized interface]
  805.  
  806.    * `afaxspl'
  807.      Fax spooler daemon, many options/features
  808.  
  809.    * `mkafax'
  810.      Convert documents to AmigaFax AFAX IFF file format
  811.  
  812.    * `afaxprt'
  813.      Print and AmigaFax AFAX IFF file using preferences printer
  814.  
  815.    * `afaxsend'
  816.      Send an AmigaFax AFAX IFF file to a remote Fax machine
  817.  
  818.    * `faa'
  819.      Receive Fax documents in auto-answer mode
  820.  
  821.    * `afaxilbm'
  822.      Convert pages from an AmigaFax AFAX IFF file to ILBM format
  823.  
  824.    * `viewafax'
  825.      AmigaFax document viewer
  826.  
  827.    * `fxfx'
  828.      Manipulates fax files
  829.  
  830.    * `dvifax'
  831.      Converts TeX .dvi file to fax format (Registered version only)
  832.  
  833.    * `showlib'
  834.      Display licence status
  835.  
  836.    * `printsymb'
  837.      AmigaFax printer-driver print symbiont (assists afax.driver)
  838.  
  839.    * `FPrint'
  840.      Redirect printer output to afax.driver
  841.  
  842.  
  843. AFAX
  844. =====
  845.  
  846. `AFAX:c/afax'
  847. `Afax' takes only one command line option at present:
  848.      afax [-f faxfile]
  849. If the `faxfile' option is given, `Afax' will come up with the given
  850. file name set as both its source and FAX file. This is used when `Afax'
  851. is started from the fax printer-driver. A common source and fax file is
  852. treated as a special case by the spooler, which will not delete the fax
  853. file when transmission is complete.
  854.  
  855. This brings up a window which you can use to create new Fax documents,
  856. edit the documents, create the actual AFAX files, and send your faxes.
  857. It also allows you to monitor the status of faxes queued for
  858. transmission and maintain the queues, and to re-queue faxes that have
  859. exceeded teir allowed retry count.
  860.  
  861.  
  862. NEWFAX
  863. =======
  864.  
  865. `AFAX:C/newfax faxname'
  866. This program is automatically invoked by faa when a fax is received. It
  867. puts up a window informing you of the Fax, with details about it (name,
  868. sender ID, number of pages), and allows you to view, print or delete
  869. the document.
  870.  
  871.  
  872. AFAXSPL
  873. ========
  874.  
  875.      [run >nil: <nil:] afax:c/afaxspl  [-s] [-i n] [-d num]
  876.  
  877. With the `-s' option, the spooler will run once only, checking for any
  878. faxes waiting to be spooled out. In this mode, it could be launched
  879. using cron/dcron/amicron at whatever times you wish to send faxes.
  880.  
  881. Otherwise it will run in background and check for faxes to spool at
  882. intervals of every `n' minutes, where `n' is the interval in minutes
  883. from the configuration file default, optionally overridden by the `-i'
  884. command-line switch. You could do this perhaps every 1/2 hour, (n =
  885. 30), or even at 1 minute intervals while testing.
  886.  
  887. The spooler checks for files of the form `FAXSPOOL:*.SPL'. These are
  888. human-readable. As calls progress, results are added to the end of the
  889. file. If successfully sent, the file is renamed `FAXSPOOL:*.OK' . If
  890. unsuccessful for more than the specified number of tries, it is renamed
  891. `FAXSPOOL:*.ERR'.
  892.  
  893. The queues are maintained from the `QCheck' module of the `afax'
  894. command. See AFAX.
  895.  
  896. `-d' is used to specify the debug level (0-9).
  897.  
  898.  
  899. MKAFAX
  900. =======
  901.  
  902.      mkafax [-s][-f][-dn][-Rresfile] <docfilename> <AFAX_filename>
  903.  
  904. `mkafax' currently recognizes the IFF file types AFAX and ILBM, plain
  905. text files, and AFAX command text files, as input.
  906.  
  907. A plain text file will be converted to an AFAX file using default
  908. settings.
  909.  
  910. An IFF ILBM will be converted to a single-page FAX document. Only the
  911. first plane is converted, to convert multi-plane (eg DigiView Pics) use
  912. another tool, such as PfiltView (AmigaTeX).
  913.  
  914. See AmigaFax Command File Format, for a full description of the
  915. command-file formatting instructions.
  916.  
  917. The switches `-s' and `-f' are used to force `Standard' and `Fine'
  918. resolution repectively.
  919.  
  920. `-d0' to `-d9' sets the debug level.
  921.  
  922. The `-R' option specifies the name of the file to pass operational
  923. results in. This is meant for internal use only, and is not a feature
  924. guaranteed to be maintained. However some users have found it useful in
  925. their environment, if you need to know the file format please ask me
  926. for it.
  927.  
  928.  
  929. AFAXSEND
  930. =========
  931.  
  932.      afaxsend [-options]  <dialstring | alias> <AFAX_filename>
  933.  
  934. The present options are:
  935.      -t         Tone Dial (default is Pulse)
  936.      -P         DoPadding on  (Uppercase P)
  937.      -p         DoPadding off (Lowercase p)
  938.      -d n       Set debug level, 0-9
  939.      -D device  Use named device    (default serial.device)
  940.      -U unit    Use specified unit  (default 0)
  941.      -Rfile     Write result in file
  942.  
  943. Command line options are normally not used, and settings are taken from
  944. environment values of `Faxlib:config'. If given, the command line
  945. switches take precedence.
  946.  
  947. The `-R' option specifies the name of the file to pass operational
  948. results in. This is meant for internal use only, and is not a feature
  949. guaranteed to be maintained. However some users have found it useful in
  950. their environment, if you need to know the file format please ask me
  951. for it.
  952.  
  953. `afaxsend' attempts to dial out, connect to the remote fax machine, and
  954. tranfer the specified document.
  955.  
  956. `afaxsend Jeff MyFaxFile'
  957.  
  958. If the first character of dialstring is not a digit, and not a name
  959. alias, the whole string will we be sent to the modem non-prefixed as a
  960. dial string. If an alias is used, it may be a group alias, resulting in
  961. the fax being sent to everyone in that group.
  962.  
  963.  
  964. AFAXPRT
  965. ========
  966.  
  967.      afaxprt [-pnum] [-n] [-dn]<AFAX_filename>
  968.  
  969. eg `afaxprt -p2 MyFaxFile'
  970.  
  971. If the `-p' option is not used, all pages are printed.
  972.  
  973. Using the `-n' option causes `afaxprt' not to send the data to the
  974. printer. Useful with the debug option `-d'.
  975.  
  976. `afaxprt' sends the AmigaFax document to the preferences printer. It is
  977. a good idea to set your printer for high density.  Using a dot-matrix,
  978. Halftone Dithering, Integer Scaling, Black and White, Density 7 appears
  979. to work ok.
  980.  
  981.  
  982. FAA
  983. ====
  984.  
  985. `faa [BaseName]'
  986.  
  987. Fax auto-answer. Sets up the FaxModem to auto-answer and recognise Fax
  988. or data tranmissions. Incoming Faxes will be saved in AFAX format. the
  989. default BaseName is `FAXREC:FAX', so that incoming faxes will be named
  990.      FAXREC:FAX0000
  991.      FAXREC:FAX0001
  992.      FAXREC:FAX0002
  993.  
  994. etc.
  995.  
  996. Note also that although `faa' recognises the difference between Fax and
  997. Data, it currently does nothing special with data. This may be
  998. integrated with the UUCP system in the future, along with *VoiceMail*
  999. capability.
  1000.  
  1001. To terminate the `faa' program, send it a CTL_C break. If you ran it
  1002. directly from your shell, just type control-C and wait. If you used
  1003. `RUN' or `RUNBACK', send a break to its process number. (eg break 7 all)
  1004.  
  1005. Command Line switches are:
  1006.      -a    - Immediate Answer
  1007.      -dn    - Set debug on, level n     (default 1)
  1008.      -D name    - Use name for the device     (default serial.device)
  1009.      -U num    - Use device unit num         (default 0)
  1010.      -G    - Run from a Getty
  1011.      -z    - Diagnostic, do not detach, so debug messages can be read
  1012.      -p    - Bump task priority by 1
  1013.      -Q    - Qtest mode
  1014.  
  1015. The Immediate Answer switch assumes phone is ringing, configures the
  1016. modem & answers immediately. It probably makes sense to attach this to
  1017. an alias if you use it this way. eg. `alias fa "faa -a"'
  1018.  
  1019. The Getty option specifies that faa was run from a Getty. It will not
  1020. modify the serial port parameters. It assumes that the Getty has
  1021. answered the phone, detected a Fax call, and set up the line
  1022. accordingly. Faa will connect, collect a Fax document, and return
  1023. control to the Getty.
  1024.  
  1025. If the `Qtest' option is specified, however, the baud rate will be set
  1026. to `RRate' even if `Getty' mode is specified. This was added for
  1027. compatability testing with `TrapDoor', a Getty-type front-end program.
  1028.  
  1029. As `faa' will normally detach, and so debug diagnostics are not
  1030. visible, the `-z' option was added to keep its STDIO attached to the
  1031. launching console.
  1032.  
  1033.  
  1034. AFAXILBM
  1035. =========
  1036.  
  1037.      afaxilbm [-pnum] <AFAX_filename> <ILBM_filename>
  1038.      
  1039.      eg
  1040.      
  1041.      afaxilbm -p2 RAM:AFAXR001 FX.ILBM
  1042.  
  1043. This will extract the specified page from the AFAX file to the named
  1044. ILBM file. It may then be viewed using standard ILBM viewing programs,
  1045. such as LoadImage from Fish disks 281 and 355, of programs like
  1046. DeluxePaint.
  1047.  
  1048. If no page number is given, all pages will be extracted to separate
  1049. files, and given names of the format base.1 base.2, etc
  1050.  
  1051. The default ILBM file base name is afax_ilbm
  1052.  
  1053.  
  1054. VIEWAFAX
  1055. =========
  1056.  
  1057.      viewafax [opts] <FaxFile>
  1058. The fax viewer is normally started automatically by from the `NewFax'
  1059. window. When invoked from the CLI, it takes the options:
  1060.      -d debug_level
  1061.      -p Page_Number
  1062.      -s Scale
  1063.  
  1064. The current version of the viewer keeps one entire fax page in memory.
  1065. If the page will not fit in the requested scale, it tries to reduce the
  1066. resolution until it finds one that will fit. Once a page is displayed,
  1067. you can move about the page using the arrow keys. There is a scale
  1068. gadget at the top left of the window, in the form of 1:n, where n is
  1069. the current scale (say 3). You can click on the gadget, delete the
  1070. current scale, and enter your own, in the range 1 to 8, where 1 is 1:1
  1071. (full size), 2 is 1:2 (half size) etc. To the right of that gadget is
  1072. another of the form Page: n where n is the current page displayed.
  1073. Again you may enter the required page number in this gadget.
  1074.  
  1075. To the top right of the window is a group of gadgets of the form
  1076. `|<<-->>|'. These are actually four gadgets, which allow moving through
  1077. the pages of the fax. From left to right they are First Page, Previous
  1078. Page, Next Page, and Last Page.
  1079.  
  1080. You may use the windows sizing gadget to resize the window. However
  1081. with the current viewer, sizing the window larger than the fax page
  1082. will result in the window shrinking to the page size at the next
  1083. movement.
  1084.  
  1085. Several keys are active in the viewer window.
  1086.  
  1087.    * *Down Arrow* (Cursor Key or Numeric Pad) Move window down fax page.
  1088.  
  1089.    * *Up Arrow* (Cursor Key or Numeric Pad) Move window up fax page.
  1090.  
  1091.    * *Right Arrow* (Cursor Key or Numeric Pad) Move window right on fax
  1092.      page.
  1093.  
  1094.    * *Left Arrow* (Cursor Key or Numeric Pad) Move window left on fax
  1095.      page.
  1096.  
  1097.    * *Numeric pad keys 1,3,7,9* Diagonal window movement
  1098.  
  1099.    * *i* Flip fax page vertically. Useful when faxes are sent
  1100.      upside-down.
  1101.  
  1102.    * *q* Quit from viewer
  1103.  
  1104.    * *b* Move back on page in fax file
  1105.  
  1106.    * *n* Move to next page in fax file
  1107.  
  1108.    * *f* Move to first page in fax file
  1109.  
  1110.    * *e* Move to end page in fax file
  1111.  
  1112.    * *s* Make fax smaller - reduce scale one step
  1113.  
  1114.    * *l* Make fax larger - increase scale one step
  1115.  
  1116.  
  1117. FXFX
  1118. =====
  1119.  
  1120. This utility allows you to split and merge AFAX format fax files. A
  1121. typical use is where you have a complete fax document, perhaps
  1122. generated by TeX->dvifax, or received as an AFAX fax-file and you want
  1123. to sent it with an attached cover page, or you want to extract one or
  1124. more pages from the document.
  1125.  
  1126.      The command-line format is:
  1127.      
  1128.      fxfx [-f][-s] infile [-range] [infile[-range]] [...] outfile
  1129.      
  1130.      Some examples:
  1131.      
  1132.      fxfx file1 file2
  1133.      
  1134.       copies fax files file1 to file2
  1135.      
  1136.      fxfx file1 file2 file3 file4
  1137.      
  1138.       merges all pages from file1-3 to create file4
  1139.      
  1140.      fxfx file1 file2 -1,3,5-7,9- file3 -4 file4
  1141.      
  1142.       merges all pages from file1, pages 1,3,5-7 and 9 on from file2, and
  1143.       page 4 from file3, to create file4
  1144.      
  1145.      
  1146.      The range is currently sorted, so to reverse page order is currently
  1147.      not simple, eg
  1148.      
  1149.      fxfx file1 -3 file1 -2 file1 -1 file2
  1150.      
  1151.       to create file2 from pages 1-3 of file1 in reverse order.
  1152.  
  1153. The flags `-s' and `-f' are used to override the resolution flags when
  1154. translating. This may be useful when a fax machine has sent you a fax
  1155. with the incorrect resolution flags, as a fax machine in Brazil does to
  1156. me. It sends in `Standard', but sets the `Fine' flag. I can correct
  1157. this with
  1158.  
  1159. `fxfx -s faxfile newfaxfile'
  1160.  
  1161.  
  1162. DVIFAX
  1163. =======
  1164.  
  1165. This module works with the AmigaTeX package from Radical Eye Software,
  1166. to enable you to convert a TeX  `.dvi'  file into an AmigaFax fax file.
  1167.  
  1168. The command line syntax is
  1169.      dvifax file.dvi -o file.afx
  1170.  
  1171. You will be prompted for various size and scaling numbers. You are
  1172. probably best to accept the default values (hit return) unless you have
  1173. a very good idea what you are doing.
  1174.  
  1175. The  Squeeze Fax  option will remove all white-space from the top and
  1176. bottom of each page. This can result in significant savings in
  1177. transmission time, and in fax paper at the other end.
  1178.  
  1179. When creating faxes with `dvifax', you may want to add a cover page.
  1180. This can be done easily with the  `fxfx'  utility.
  1181.  
  1182.  
  1183. SHOWLIB
  1184. ========
  1185.  
  1186. This programs attempts to open the `afax.library' and display its
  1187. contents. You can use this to confirm that a valid license library is
  1188. available, check for user name, expiry date, etc. Output is of the form:
  1189.  
  1190.      Current AmigaFax Library:
  1191.      
  1192.      Version = 1
  1193.      Type    = 1
  1194.      Serial  = 0
  1195.      No Expiry
  1196.      Level   = 10
  1197.      User    = David Varley
  1198.  
  1199. For registered users the fields `Serial' and `User' should display your
  1200. registration serial number and your name. The `Version' field is an
  1201. internal library revision, the `Type' field is reserved and may be
  1202. later used to distinguish between reviewer, distributor, user, etc. The
  1203. `Level' is presently unused, but could be used for a service level, and
  1204. there may also be an licence expiry date shown. At present all
  1205. registered user licences should show `No Expiry'.
  1206.  
  1207.  
  1208. PRINTSYMB
  1209. ==========
  1210.  
  1211. The `printsymb' module is used to translate data from the `afax.driver'
  1212. printer driver into fax format, and save as a file. Under AmigaDOS2.0
  1213. it will be run automatically by the driver, but under AmigaDOS1.3 it
  1214. must be run up manually. It may be run in background, using a command
  1215. such as `RunBack', from somewhere in your startup sequence.
  1216.  
  1217. You can also run it manually from a CLI for diagnostic purposes. When
  1218. run manually it takes the command line arguments
  1219.      -h   Hang Around. Do not terminate when afax.driver is expunged
  1220.      -r   Replace.     Replace a currently running printsymb
  1221.      -q   Quit.        Kill any currently running printsymb and terminate
  1222.  
  1223. If you run `printsymb' from a normal shell window, and print using the
  1224. `afax.driver.debug' version of the driver, you will get lot of
  1225. diagnostic information about how your application program is accessing
  1226. the printer device. This can be useful for me in getting the driver to
  1227. work with as many applications as possible.
  1228.  
  1229.  
  1230. FPRINT
  1231. =======
  1232.  
  1233. `FPrint' is a small program that changes the in-memory system
  1234. `Preferences' to use the `afax.driver', puts up a requester informing
  1235. you that print has been redirected, and waits for you to signal it to
  1236. cease redirection. This can be useful for quickly redirecting output to
  1237. a fax without changing your main preferences settings, especially if
  1238. you tie `FPrint' to a `HotKey' using a program such as `FKeys'.
  1239.  
  1240. `FPrint' may not always work as expected, however, as some applications
  1241. will adjust the printer from saved settings. For these you will have to
  1242. use the normal `Printer' command to set your default printer to
  1243. `afax.driver'.
  1244.  
  1245.  
  1246. AmigaFax Command File Format
  1247. =============================
  1248.  
  1249. An AFAX command file uses lines starting with a dot (.) as special
  1250. commands, similar to TROFF style text processors. The file MUST start
  1251. with .FCOM on the first line.
  1252.  
  1253.       .FCOM
  1254.          on the first line to be recognised as a command file.
  1255.          .FCOM may optionally be followed by a dialstring or target alias.
  1256.          (Currently unused, future compatability)
  1257.      
  1258.      Other commands currently supported are :
  1259.      
  1260.       .PG    Clear out the old page and start a new one
  1261.       .LM n    Set the left margin to n characters, in the current font
  1262.       .LI n    Set the left  indentation to n pixels (default 50)
  1263.       .RI n    Set the right indentation to n pixels (default 50)
  1264.       .LJ    Left-justify text and Graphics from now on
  1265.       .RJ    Right Justify text and Graphics
  1266.       .CT    Center Text and Graphics
  1267.       .TS n    Set Tabs every n characters (default 8)
  1268.       .PL n    Set page length to n (pixel) rows (default 2292 == A4)
  1269.       .FILL    Turn on fill mode
  1270.       .NOFILL Turn off fill mode
  1271.      
  1272.       .VERBATIM
  1273.          All text read in will be printed verbatim, until .ENDVERB
  1274.      
  1275.       .VERBINC filename
  1276.          Include a file in verbatim mode. Still requires a .ENDVERB
  1277.      
  1278.       .ENDVERB
  1279.          End verbatim mode
  1280.      
  1281.       .FONT name size [styles]
  1282.          Set the font as specified. Typical use might be
  1283.          .FONT topaz 11
  1284.          .FONT diamond 20
  1285.          .FONT cmr10 30
  1286.          and so on. See the .STYLE command for style options.
  1287.      
  1288.       .ENDF    pop the current font/style, and return to the previous one.
  1289.      
  1290.       .STYLE styles
  1291.          Set the style according to the style string,
  1292.              N - Normal
  1293.              B - Bold
  1294.              U - Underlined
  1295.              I - Italics
  1296.              E - Extended
  1297.          eg .STYLE BU    (set to bold, underlined)
  1298.      
  1299.       .     (dot followed by white-space) Rest of line is a comment
  1300.      
  1301.       .INC file
  1302.          Include the named file. File may be text, ILBM, or another command
  1303.          file. Type is auto-recognised. If a full path is not given to the
  1304.          include file, the current directory will be searched, then the
  1305.          FAXLIB: directory. Thus addresses, signatures, etc may be kept
  1306.          in FAXLIB:
  1307.      
  1308.          From version 1.34, you may also .INC an AFAX format file. At
  1309.          present only one page is included, by default the first page.
  1310.          Page number can be specified by an optional parameter, eg
  1311.          .INC FAXREC:Fax0001 2
  1312.          At present only 1 page from an AFAX file can be included for each .INC
  1313.          command, and no data after that page will appear on the page it is
  1314.          included on. Text/graphics can be included before the included fax
  1315.          page, so you could use this, for example, to automatically add some
  1316.          header text to a received fax before relaying it on.
  1317.          Note that at present, normal page-length checking is NOT done while
  1318.          processing the included fax page, so you may get a longer than
  1319.          expected page.
  1320.      
  1321.       .DATE    Insert a line with the current date and time, using current font
  1322.          and line settings.
  1323.  
  1324. Any line not beginning with a . will be processed as normal text,
  1325. according to the current settings.
  1326.  
  1327.  
  1328. Fill Mode
  1329. ----------
  1330.  
  1331. In this mode, lines will be filled from input to full width (inside LR
  1332. indent) in the current font. Line filling terminates on a dot command,
  1333. blank line, or end of page. Left Margin is disabled while filling.
  1334.  
  1335. See the included  `test.com'  file for examples of useage.
  1336.  
  1337.  
  1338. Stackable fonts and Style support
  1339. ----------------------------------
  1340.  
  1341. Version 1.34 and later of `mkafax' support stackable fonts, and the use
  1342. of styles, such as *Bold* , *Italic* and `Underline'.
  1343.  
  1344. Useage of the command  `.FONT'  has been extended, and the commands 
  1345. `.STYLE'  and  `.ENDF'  have been added.
  1346.  
  1347. The font system has been modified so that fonts are now nestable. This
  1348. means you can set a font/style, and then return to the original
  1349. font/style, without needing to know what that was. This can be very
  1350. useful for include files, which can return to the original font before
  1351. they exit, for example.
  1352.  
  1353. The  `.FONT'  command now takes an optional third parameter, which
  1354. defines the requested style to use. This takes the form of a string,
  1355. consisting of the letters  `N, B, U, I'  and  `E'  in any order, upper
  1356. or lower case.
  1357.  
  1358.      N - Normal
  1359.      B - Bold
  1360.      U - Underlined
  1361.      I - Italics
  1362.      E - Extended
  1363.  
  1364. Note that the letters are parsed in order, and that  `N'  will clear the
  1365. other flags and set the font back to normal. For example,
  1366.  
  1367.      .FONT topaz 30 BU
  1368. will set the font to topaz 30, Bold and Underlined.
  1369.  
  1370.      .FONT CGTimes 50 I
  1371. set CGTimes at 50-point, Italic.
  1372.  
  1373. You can retain the existing font, but change its style, by using the
  1374. new .STYLE command.
  1375.  
  1376.      .STYLE U
  1377.      
  1378.      This is Underlined.
  1379.      
  1380.      .STYLE IU
  1381.      
  1382.      This is Underlined and Italic.
  1383.  
  1384. All `.FONT' and `.STYLE' commands can now be nested. This means that
  1385. the font/style you set will remain in effect until the new command
  1386. `.ENDF' is encountered. After this the previous font/style set will be
  1387. in force. The Default font, which can be set from your `FAXLIB:Config'
  1388. file or by environmental variable, is always the underlying font. No
  1389. matter how many `.ENDF' commands you enter, this will not be popped
  1390. from the font stack.
  1391.  
  1392. Note that if you have defined a `Header' font, this will be
  1393. automatically pushed for headers, and popped afterwards.
  1394.  
  1395.      Example .FCOM file:
  1396.      
  1397.      .FCOM
  1398.      This is in default font
  1399.      .FONT CGTimes 30 U
  1400.      This is in Underlined 30 point CGTimes
  1401.      .FONT topaz 20 B
  1402.      This is in Bold 20 point topaz
  1403.      .STYLE NIU
  1404.      And this is Italic Underlined 20 point topaz
  1405.      .ENDF
  1406.      Bold 20 point topaz
  1407.      .ENDF
  1408.      Underlined 30 point CGTimes
  1409.      .ENDF
  1410.      Default font
  1411.      .ENDF
  1412.      Default font
  1413.  
  1414.  
  1415. Other Files
  1416. ************
  1417.  
  1418.  
  1419. FAXLIB:Aliases
  1420. ===============
  1421.  
  1422. This file allows you to alias numbers to names, create fax mailing
  1423. groups, etc. Aliases may be defined in terms of other aliases.
  1424.  
  1425. For example we could have:
  1426.  
  1427.      joe: 1234596
  1428.      
  1429.      fred: 9876123
  1430.      
  1431.      bill: 0981234
  1432.      
  1433.      andy: "0,123-4567,,,"
  1434.      
  1435.      customers: joe, fred, bill
  1436.  
  1437. Lines beginning with # are treated as comments, a comma means the alias
  1438. list continues.
  1439.  
  1440. If you want to include spaces or commas in an alias (commas are a way
  1441. of inserting delays into a dial-string), you should surround the
  1442. aliased number with double quotes. Adding coma-delays at the end of a
  1443. dial string can be useful when dialing numbers that take a long time to
  1444. respond, avoiding possible timeouts.
  1445.  
  1446. The alias system is modelled closely on the one used in Matt Dillon's
  1447. UUCP package. See UUCP documentation for more details. Thanks, Matt.
  1448.  
  1449.  
  1450. FONTS
  1451. ======
  1452.  
  1453. AmigaFax can use all the standard Amiga fonts. Under AmigaDOS2.0 the
  1454. ability to perform font-scaling means that you can generate quite
  1455. impressive documents very easily.
  1456.  
  1457. The AmigaFax distribution also includes a selection of larger sized
  1458. fonts from the Computer Modern series, which again allows very high
  1459. quality faxes to be produced. These were generated from standard TeX
  1460. fonts using the TEXF program. Note that these fonts do not contain the
  1461. umlaut characters commonly used in Europe.
  1462.  
  1463. These include the fonts  cmr10, cmbx10, cmssbx10 and cmtt10  in sizes
  1464. from 29 to 103.
  1465.  
  1466. I would suggest that anyone using AmigaDOS 2.0 use the standard Amiga
  1467. fonts. Even Topaz scaled to 30 point size or greater comes out quite
  1468. effectively. Play around until you find a setup you like.
  1469.  
  1470.  
  1471. Integration with other software
  1472. ********************************
  1473.  
  1474.  
  1475. UUCP
  1476. =====
  1477.  
  1478. AmigaFax was designed from the beginning to integrate with UUCP, in
  1479. particular with Matt Dillon's AmigaUUCP1.15D. Using the modified Getty
  1480. program provided, a Fax call will be recognised, and the Fax
  1481. auto-answer program will be called to handle it. Normal logins and UUCP
  1482. connections should function as usual.
  1483.  
  1484. Other facilities, such as network fax-server capability, can be
  1485. provided to enhance the basic AmigaFax system.
  1486.  
  1487.  
  1488. TeX
  1489. ====
  1490.  
  1491. We have written a  `dvifax'  program, which will take a standard TeX
  1492. `.dvi'  file, and transform it to an AmigaFax file, with superb quality
  1493. output. This is now provided with the distribution.
  1494. Martin Steppler and Martin Horneffer have donated a set of `PasTeX'
  1495. compatability programs, to enable AmigaFax to run with the `PasTeX'
  1496. freely distributable TeX package. This package is included in the
  1497. distribution. *We have not tested these programs here.*
  1498.  
  1499.  
  1500. PostScript
  1501. ===========
  1502.  
  1503. PostScript support is not yet in place, but it is on the list. Priority
  1504. given depends on demand.
  1505.  
  1506.  
  1507. Printer Driver
  1508. ===============
  1509.  
  1510. The AmigaFax printer driver `afax.driver' allows any program that sends
  1511. its output via the standard Amiga printer-driver is able to create fax
  1512. files. This includes many desktop publishing packages, word-processors,
  1513. drawing and paint programs, etc.
  1514.  
  1515. *Be aware:* that the present version  of the afax.driver, as released
  1516. with AmigaFax version 1.40, only converts *print graphics dumps* to fax
  1517. files. Normal text sent to the printer is ignored. This may change for
  1518. future releases.
  1519.  
  1520.  
  1521. BBS Systems
  1522. ============
  1523.  
  1524. The FifoBBS BBS system for VLT is no longer distributed with AmigaFax. 
  1525. There several BBS systems that should work well alongside AmigaFax, the
  1526. one we are currently using at C-Born is *TransAmiga*. This is a freely
  1527. distributable shareware package which also supports FidoNet. It is
  1528. available from several sources, including Amiga ftp sites. See the file
  1529. BBSREADME in the distribution disk BBS directory for more details.
  1530.  
  1531.  
  1532. Registration and Maintenance
  1533. *****************************
  1534.  
  1535. AmigaFax has always been distributed in two versions. The demonstration
  1536. version was freely distributable, but had certain limitations, in
  1537. particular the ability to transmit and receive only single-page faxes.
  1538. The registered version was sent out directly to registered users, and
  1539. was made available in restricted access areas of the BBS, UUFS
  1540. fileserver and BMS. The majority of the package was the same for both
  1541. versions.
  1542.  
  1543. With the increasing ease of access to networked file storeage systems,
  1544. such as AmiNet, the ability of users to collect the latest registered
  1545. version of the software over a network would greatly ease the
  1546. distribution bottleneck. Registered software could also be distributed
  1547. by means such as the Fish CD-ROMs.
  1548.  
  1549. In order to implement this, AmigaFax Version 1.40 and later incorporate
  1550. a licence management facility, implemented as a loadable library,
  1551. `afax.library'. This means that on registration only a small library
  1552. file needs to be sent to a user with the AmigaFax package, and
  1553. registered users can always load and use all the features of the latest
  1554. distribution when it appears on the networks, BBS, CD-ROM, etc.
  1555.  
  1556. The licence library has facilities for various levels of access, and
  1557. for limited-time licences, so that users may try with all features
  1558. enabled for a limited period. If the licence library is not found, the
  1559. package will still operate fully in demonstration mode, which for many
  1560. casual users will meet all their requirements.
  1561.  
  1562.  
  1563. Getting Updates
  1564. ================
  1565.  
  1566. The latest version of AmigaFax is available from our BBS system, as
  1567. well as via e-mail, using either the UUFS fileserver or Matt Dillon's
  1568. BMS (Batch Mail System) for AmigaUUCP. We can also send it out on disk
  1569. by mail if necessary. We plan to set up a direct Internet connection in
  1570. the next few months (1st half 1994), and AmigaFax may be available for
  1571. direct `ftp' access then. Address is not yet known.
  1572.  
  1573. Our BBS system is *TransAmiga*, and it currently runs on the same line
  1574. as our AmigaFax, `+61-52-786355'. This number is likely to change some
  1575. time in 1994.
  1576.  
  1577.      Our mailing address is:
  1578.      
  1579.      C-Born Software System
  1580.      59 West Fyans St.
  1581.      Geelong, 3220
  1582.      Victoria, AUSTRALIA.
  1583.      
  1584.      Phone +61-52-290144
  1585.      Fax   +61-52 290248
  1586.  
  1587. Our e-mail addresses may also be subject to change during 1994, as we
  1588. set up our Internet connection. At present, the BMS server site is
  1589.  
  1590. `sol.ccs.deakin.edu.au!drum3'
  1591.  
  1592. and the UUFS fileserver can be reached as
  1593.      sol.ccs.deakin.edu.au!drum3!fs
  1594. You can reach me by email as
  1595.      sol.ccs.deakin.edu.au!drum3!dave
  1596.  
  1597. You can request help on useage of the UUFS fileserver by sending it
  1598. email containing the following body text:
  1599.      REPLYTO <Your email address>
  1600.      INFO
  1601.      ?
  1602.      HELP
  1603.      ASCII
  1604.      GET BMS:Pub/Files
  1605.      QUIT
  1606.  
  1607. The REPLYTO field is only necessary if your return address is not
  1608. easily resolveable, for example if your mail is forwarded via a machine
  1609. that mangles your path. `<Your email address>' is a working address
  1610. from `drum3' to you, the `<>' are not included. `BMS:Pub/Files' lists
  1611. all the accessible files. Generally requesting
  1612. `BBS:File/AfaxDemo/AmigaFax.lha' should get you the latest version.
  1613.  
  1614.  
  1615. Registration
  1616. =============
  1617.  
  1618. The registration fee has been held at $A65, or $US50, for several years
  1619. now. (The original offer was valid until 6 April 1992, but we never got
  1620. around to changing it) We accept MasterCard, VISA and BankCard in
  1621. Australian dollars. EuroCheques are not accepted (we've tried, the
  1622. local banks won't accept them!).
  1623.  
  1624.      Here is an example registration form:
  1625.      
  1626.           o /
  1627.      ------X------cut here--------------------------------------------------
  1628.      
  1629.                         AMIGAFAX REGISTRATION
  1630.      
  1631.      To:
  1632.          C-Born Software Systems
  1633.          59 West Fyans St.
  1634.          Geelong, 3220
  1635.          Victoria, AUSTRALIA
  1636.      
  1637.      
  1638.      Name:                               Phone:
  1639.              _________________________            _________________________
  1640.      
  1641.      
  1642.      Address:
  1643.              _______________________________________
  1644.      
  1645.      
  1646.              _______________________________________
  1647.      
  1648.      Country:                                Postal Code:
  1649.              _________________________                     ________________
  1650.      
  1651.      
  1652.      Email:
  1653.              _________________________
  1654.      
  1655.      
  1656.      Payment Method:
  1657.      
  1658.      
  1659.       MasterCard  ( )     Visa  ( )     BankCard  ( )     Bank Cheque  ( )
  1660.      
  1661.      
  1662.      Card No.                                         Exp:
  1663.               _______________________________________       __________
  1664.      
  1665.      
  1666.      CardHolder Name:                                 Amount:  $65.00 Australian
  1667.                        ______________________________
  1668.      
  1669.      
  1670.           o /
  1671.      ------X------cut here---------------------------------------------------
  1672.  
  1673.  
  1674. FaxModem Specifics
  1675. *******************
  1676.  
  1677.  
  1678. ZyXEL U-1496
  1679. =============
  1680.  
  1681. The ZyXEL U-1496 provides data rates to v32bis and higher, with v42bis
  1682. error correction and compression. It is capable of facsimile data rates
  1683. greater than 9600bps, currently up to 14400bps. ZeroOne makes ROM
  1684. upgrades available through their BBS, with frequent upgrades. They are
  1685. very helpful and responsive to customer requests.
  1686.  
  1687. The latest ROM version we have used is  V6.10 .
  1688.  
  1689. With this ROM, it is possible to lock the DCE/DTE data rate for fax
  1690. with the sequence `ATS38=8S18=n' , where  n  is the DTE speed as per
  1691. the S20 register list, eg 2 for 38.4Kbps, 3 for 19.2Kbps.
  1692.  
  1693. There is a Voice-mode ROM for the ZyXEL currently in Beta-test. When
  1694. this is released, we will try to integrate it with AmigaFax. this will
  1695. allow you to send and receive voice messages, as well as fax and data
  1696. calls, all from your Amiga.
  1697.  
  1698. A few more tips on configuration, with getty. In my standard startup
  1699. line I have been setting the page-length to A4, as my printer is A4,
  1700. which is the standard here. However, it appears that my fax (and most
  1701. others) when appending their header/footer lines, force the page past
  1702. A4. This has not been a problem in the past, but now the U1496 must be
  1703. obeying the page-length setting, and forces out an extra very short
  1704. page for each A4 page. This causes handshake problems, etc.
  1705.  
  1706. So for now, the best solution seems to be setting up for unlimited
  1707. page-length. The AmigaFax software has no problem with this, but your
  1708. printer may, if single-sheet type.
  1709.  
  1710. Another option allows fax data-rates greater than 9600. Not many fax
  1711. machines support this yet, but we may as well use it, just in case.
  1712.  
  1713.      The +FDCC options are as follows:
  1714.      
  1715.      +FDCC=1,5,0,2
  1716.            ^ ^ ^ ^
  1717.            | | | +- Page Length: 0=A4(297mm) 1=B4(364mm) 2=unlimited
  1718.            | | +--- Page Width : 0=1728 Pixels in 215mm
  1719.            | +----- Bit Rate   : 0=2400 1=4800 2=7200 3=9600 4=12000 5=14400
  1720.            +--------Vert. Res. : 0=Normal(98 lpi) 1=Fine(196 lpi)
  1721.  
  1722. Other options cover compression format, error correction mode, binary
  1723. file transfer, and scan time. These are not yet supported, probably not
  1724. until the standards are finalized.
  1725.  
  1726. The line I use to start up `Getty' is:
  1727.  
  1728.      RunBack Getty -Mh -B19200 -x8 -F6 AT&C1&D3+FDCC=1,5,0,2
  1729.  
  1730. As I have the FaxModem running from a  AS2232  multiport serial card,
  1731. with a maximum baud rate of 19200, I must limit the DCE/DTE rate to
  1732. that.
  1733.  
  1734.  
  1735. Maestro 9600XR
  1736. ===============
  1737.  
  1738. This is a low-cost Australian made 2400bps data, 9600bps send/receive
  1739. fax modem, based on the Exar chipset. It does not allow DCE/DTE rate
  1740. locking, and as of the latest version ROMs we have, still has
  1741. occasional problems in correctly synchronising to incoming fax data,
  1742. resulting in `garbage data' faxes, and missing lines from the top of
  1743. pages. These problems may have been fixed in later ROM versions, but we
  1744. have not been notified of any upgrades. The modem software does not
  1745. appear to observe specified line-scan delays, which may result in
  1746. missing lines when transmitting to older/slower fax machines.
  1747.  
  1748. A typical Getty startup-line for this modem is:
  1749.      run >nil: <nil: Getty -Mh -B2400 -F AT&C1&D2+FDCC=1,3
  1750.  
  1751.